package com.situ.onlinebookstore.front.controller;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequiredArgsConstructor
public class GoodsController {
    @RequestMapping("/search")
    public String search(){
        return "search-goods";
    }

    @RequestMapping("/goods")
    public String goods(){
        return "goods-detail";
    }

}
